package com.cos.demo1.impl;

import com.cos.demo1.EmpDao;
import com.cos.demo1.EmpServices;

import java.util.List;

/**
 * @author: COS
 * @time: 2021/5/17 9:15
 * @description:
 */
public class EmpServicesImpl implements EmpServices {
    private EmpDao empDao;
    @Override
    public void say() {
        empDao.show();
        System.out.println("这个是services");
    }

    public EmpDao getEmpDao() {
        return empDao;
    }

    public void setEmpDao(EmpDao empDao) {
        this.empDao = empDao;
    }
}
